<?php
class Main_Controller_Action extends Zend_Controller_Action
{
	/**
	 * @deprecated
	 * @var array
	 */
	//public static $seriveUrl = array('main_is_service_url' => '1');
	
	/**
	 * @param Zend_Controller_Request_Abstract $request
	 * @param Zend_Controller_Response_Abstract $response
	 * @param array $invokeArgs
	 * @return void
	 */
    public function __construct(Zend_Controller_Request_Abstract $request, Zend_Controller_Response_Abstract $response, array $invokeArgs = array())
    {
        parent::__construct($request, $response, $invokeArgs);
    }
    
    /**
     * (non-PHPdoc)
     * @see library/Zend/Controller/Zend_Controller_Action#init()
     */
    public function init() 
    {
        $this->_setLayout();	    
    }
    
    /**
     * @return void
     */
    protected function _setLayout()
    {    
    	$layout = 'layout';
    	Zend_Layout::getMvcInstance()->setLayout($layout);
    }
    
}